import Vue from 'vue'
import Router from 'vue-router'
import PcIndex from './views/PcIndex.vue'
import M_Index from './views/M_Index.vue'
import M_Movie from './views/M_Movie.vue'
import Movie from './views/Movie.vue'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: "/", // pc端首页
      name: PcIndex,
      component: PcIndex
    },
    {
      path: '/m', // 手机端首页
      component: M_Index
    },
    {
      path: '/m/movie',
      component: M_Movie
    },
    {
      path: '/movie',
      component: Movie
    }
  ]
})
